package cn.edu.csust.coursecard.dao.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 回复详细信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ReplyInfo {
    
    //回复id
    private Integer id;
    
    //回复者用户信息
    private UserInfo userInfo;
    
    //被回复用户id
    private String replyName;
    
    //回复的评论id
    private Integer commentId;
    
    //回复内容
    private String content;
    
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    
}
